using Zdotp.ObjectPool;

namespace Zdotp.Timer;

public class KeyFrame : ObjectBase
{
    public float Time;
    public Action? Action;
    public bool IsTrigger;

    public override void OnGet()
    {
        IsTrigger = false;
    }

    public override void OnRelease()
    {
        IsTrigger = false;
    }
}